import http from '../utils/http'
const user = {
    getById(data){
        return http({
            url: '/system/user/getById',
            method: 'put',
            data: data
        })
    },
    save(data){
        return http({
            url: '/system/user/save',
            method: 'post',
            data: data
        })
    },
    list(){
        return http({
            url: '/system/user/list',
            method: 'get'
        })
    }
}
export default user